home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 102 / CD-ROM 102.iso / aplic / 2sync / 2SyncSetup.exe / halt / scripts / DefineButton2_157 / BUTTONCONDACTION on(press).as next >
Encoding:
Text File  |  2002-03-20  |  483 b   |  24 lines

  1. on(press){
  2.    _level50.gotoAndStop("off");
  3.    if(_parent.resize._visible eq true)
  4.    {
  5.       if(getTimer() - BaseTime < 200 and BaseTime != null)
  6.       {
  7.          _parent.max.gotoAndStop("min");
  8.       }
  9.       else
  10.       {
  11.          fscommand("cn","dragOn");
  12.          BaseTime = getTimer();
  13.       }
  14.    }
  15.    else if(getTimer() - BaseTime < 200 and BaseTime != null)
  16.    {
  17.       _parent.max.gotoAndStop("max");
  18.    }
  19.    else
  20.    {
  21.       BaseTime = getTimer();
  22.    }
  23. }
  24.